{% extends 'bootbase.html' %}
{% block title %}Acacia Dashboard {{dashboard.name}}{% endblock title %}
{% block brandname %}<a class="navbar-brand">Dashboard {{dashboard.name}}</a>{% endblock brandname %}
{% block admin_url %}dashboard/{{dashboard.id}}{% endblock %}
{% block navbar %}{% endblock navbar %}

{% block content %}
<div class="container-fluid">
<div class="row row-fluid">
{% for chart in dashboard.sorted_charts.all %}
<div class=col-md-6><a href = "{% url 'acacia:chart-detail' chart.id %}"><iframe src="{% url 'acacia:chart-detail' chart.id %}" height="400px" width="600px" marginwidth="0" seamless="seamless" frameborder="0"></iframe></a></div>
{% if forloop.counter|divisibleby:2 %}
</div><div class="row row-fluid">
{% endif %}
{% endfor %}
</div>
</div>
{% endblock %}
